package com.ding.eduservice.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ding.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ding.eduservice.entity.EduCourseDescription;
import com.ding.eduservice.entity.EduVideo;
import com.ding.eduservice.entity.vo.PublicCourseQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-11-16
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    public PublicCourseQuery  getPublicByCourseId(String courseId);

    List<EduCourse> selectList(QueryWrapper<EduVideo> wrapperVideo);
}
